import tensorflow as tf
print(tf.__version__) # 2.0.0
# x1=89/8
# x2=78/8
# x3=60/8
# x1=78/8
# x2=91/8
# x3=75/8
x1=60/8
x2=75/8
x3=92/8
a = tf.constant([x1, x2, x3], dtype = tf.float32)
b2 = tf.nn.softmax(a) # 使用指数的Softmax
print(b2) # 0.00064